*use dataset: jop_constraint_analysis.dta

****Table A1: Summary Statistics for Dependent Variable (Probability of Review), by Year****
sum time_review if current_year == 1948 
	*repeat for 1949 - 2015
	
****Table A2: Summary Statistics for Independent Variables***
sum times_prev_reviewed dist_current_pres_court_ba selindim1 selindim2 dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark  ln_law_length current_unemp current_presapprove current_public_mood 

****Table A3: Legislative Politics Hypothesis (Significant Laws Only)****
logit time_review  times_prev_reviewed c.dist_current_cong_court_ba##c.dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0 & cq_siglaw == 1 & year < 2011, cluster(id)

****Table A4: Non-Enforcement Hypothesis (Significant Laws Only)****
logit time_review times_prev_reviewed  dist_current_pres_court_ba dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong landmark  agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0 & cq_siglaw==1 & year < 2011, cluster(id)

****Table A5: Public Opinion Hypothesis (Significant Laws Only)*****
*Column 1: President-Public Alignment = 1
logit time_review  times_prev_reviewed c.dist_current_pres_court_ba##i.high_salience dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0 & cq_siglaw == 1 & year < 2011 & pres_public_align == 1 , cluster(id)
*Column 2: President-Public Alignment = 0
logit time_review  times_prev_reviewed c.dist_current_pres_court_ba##i.high_salience dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0 & cq_siglaw == 1 & year < 2011 & pres_public_align == 0, cluster(id)

***Table A6: Agency Independence Hypothesis (Significant Laws Only)****
*Column 1: Decision-Maker Independence
logit time_review times_prev_reviewed  c.dist_current_pres_court_ba##c.selindim1 dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp current_presapprove current_public_mood i.majortopic if commemorative == 0 & cq_siglaw == 1 & year < 2011, cluster(id)
*Column 2: Policy Decisions Independence
logit time_review times_prev_reviewed  c.dist_current_pres_court_ba##c.selindim2 dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp current_presapprove current_public_mood i.majortopic if commemorative == 0 & cq_siglaw == 1 & year < 2011, cluster(id)

*******Table A7: Non-Enforcement Hypothesis (with Controls)******
logit time_review  times_prev_reviewed dist_current_pres_court_ba dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0, cluster(id)

*******Table A8: Public Opinion Hypothesis (with Controls)******
*column 1: President-Public Alignment = 1
logit time_review  times_prev_reviewed c.dist_current_pres_court_ba##i.high_salience dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0 & pres_public_align == 1 , cluster(id)

*Marginal Effects for Figure 2, Panel A
margins, dydx(dist_current_pres_court_ba) at(high_salience==(0 1)) level(90)

*Column 2: President-Public Alignment = 0
logit time_review  times_prev_reviewed c.dist_current_pres_court_ba##i.high_salience dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0 & pres_public_align == 0 , cluster(id)

*Marginal Effects for Figure 2, Panel B
margins, dydx(dist_current_pres_court_ba) at(high_salience==(0 1)) level(90)

*******Table A9: Agency Independence Hypothesis (with Controls)********
*Column 1: Decision-Maker Independence 
logit time_review  times_prev_reviewed c.dist_current_pres_court_ba##c.selindim1 dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp current_presapprove current_public_mood i.majortopic if commemorative == 0, cluster(id)

*Column 2: Policy Decisions Independence
logit time_review  times_prev_reviewed c.dist_current_pres_court_ba##c.selindim2 dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp current_presapprove current_public_mood i.majortopic if commemorative == 0, cluster(id)

*Marginal Effects for Figure 3
margins, dydx(dist_current_pres_court_ba) at(selindim2==(-.692 (0.15) 2.235)) level(90)


***********Table A10: Presidential Non-Enforcement Conditional on Congressional Support**************
logit time_review  times_prev_reviewed c.dist_current_pres_court_ba##c.dist_current_pres_congress_ba dist_current_cong_court_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0, cluster(id)


*****Table A11: Presidential Non-Enforcement, Presidential Priority, and President-Public Alignment***
*Column 1: President-Public Alignment = 1
logit time_review  times_prev_reviewed  c.dist_current_pres_court_ba##i.priority dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp current_presapprove current_public_mood i.majortopic if commemorative == 0  & pres_public_align == 1, cluster(id)
*Column 2: President-Public Alignment = 0
logit time_review  times_prev_reviewed  c.dist_current_pres_court_ba##i.priority dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp current_presapprove current_public_mood i.majortopic if commemorative == 0  & pres_public_align == 0, cluster(id)


*****Table A12: Congressional Influence, Public Salience, and Congress-Public Alignment***
*Column 1: Congress-Public Alignment = 1
logit time_review  times_prev_reviewed dist_current_pres_court_ba  i.high_salience##c.dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0 & cong_public_align == 1, cluster(id)
*Column 2: Congress-Public Alignment = 0
logit time_review  times_prev_reviewed dist_current_pres_court_ba  i.high_salience##c.dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0 & cong_public_align == 0, cluster(id)

***Table A13: Presidential Non-Enforcement and Interest Groups*****
logit time_review  times_prev_reviewed high_ig dist_current_pres_court_ba dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0, cluster(id)
logit time_review  times_prev_reviewed i.high_ig##c.dist_current_pres_court_ba dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0, cluster(id)
logit time_review  times_prev_reviewed high_contributions dist_current_pres_court_ba dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0, cluster(id)
logit time_review  times_prev_reviewed i.high_contributions##c.dist_current_pres_court_ba dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0, cluster(id)


***Table A14: Presidential Non-Enforcement and Nature of Lawsuits***
logit time_review  times_prev_reviewed high_lawsuits dist_current_pres_court_ba dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0, cluster(id)
logit time_review  times_prev_reviewed i.high_lawsuits##c.dist_current_pres_court_ba dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0, cluster(id)


***Table A15: Court of Appelas Sample and Presidential Influence in Legislative Process***
logit time_review times_prev_reviewed  dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark  agecsp1 agecsp2 agecsp3 agecsp4  ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0 & ind_coa == 1, cluster(id)
logit time_review  times_prev_reviewed  c.dist_current_cong_court_ba##c.dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark  agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp current_presapprove current_public_mood i.majortopic if commemorative == 0 & ind_coa == 1 , cluster(id)
logit time_review  times_prev_reviewed dist_current_pres_court_ba dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0 & ind_coa == 1, cluster(id)


***Table A16: Court of Appeals Sample and Presidential Influence in Administrative Process***
logit time_review  times_prev_reviewed c.dist_current_pres_court_ba##i.high_salience dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0 & ind_coa == 1 & pres_public_align == 1 , cluster(id)
logit time_review  times_prev_reviewed c.dist_current_pres_court_ba##i.high_salience dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp  current_presapprove current_public_mood i.majortopic if commemorative == 0 & ind_coa == 1 & pres_public_align == 0 , cluster(id)
logit time_review  times_prev_reviewed c.dist_current_pres_court_ba##c.selindim2 dist_current_cong_court_ba  dist_current_pres_congress_ba dist_current_cong_issuing_cong  landmark agecsp1 agecsp2 agecsp3 agecsp4 ln_law_length current_unemp current_presapprove current_public_mood i.majortopic if commemorative == 0 & ind_coa == 1, cluster(id)

